<?php use_helper('Date'); $sf_user->setCulture('ru_RU'); ?>

<h1 class="h1_tag"><?php echo $tag?></h1>
<?php if( !empty($articles) && $articles->count()>0 ):?>

	<?php foreach($articles as $article):?>
	<div class="article">
		<?php if($article['image']):?>
			<?php echo link_to('<img title="'.$article['image_text'].'" src="/uploads/articles/thumbnail_70_70/'.$article['image'].'"/>','article_view',$article)?>
		<?php endif;?>
		<?php echo link_to($article['title'],'article_view',$article,'class="entity_header"')?><br/>
		<span class="cat_link">
			<?php echo link_to($article['ArticleCategory']['title'],'view_articles_category',$article['ArticleCategory'],"title='Показать все статьи по категории ".$article['ArticleCategory']['title']."'");?> | 
			<?php echo format_datetime($article['updated_at'],'f')?>
		</span><br/>
		<span class="short_description"><?php echo $article['short']?></span><br/>
	</div>
	<?php endforeach;?>

<?php else:?>
Статей по данному тегу не найдено
<?php endif;?>
<?php include_component('banners','get468x60')?>